<template>
  <div class="child">
    <h1>GrandSon组件</h1>
    <h1>拿到的Father的数据:{{ a }},{{ b }},{{ c }},{{ d }},{{ e }}</h1>
    <button @click="updateFatherA(1)">调用Father给的方法修改Father的数据a+1</button>
  </div>
</template>

<script lang="ts" setup>
  defineProps(['a', 'b', 'c', 'd', 'e', 'updateFatherA'])
</script>

<style scoped>
</style>